<template>
	<q-card class="fit q-mt-md">
		<q-card-section class="row justify-between no-wrap">
			<view class="row q-gutter-md">
				<view class="q-pr-sm text-primary">
					{{单项.时间编号}}小计👉
				</view>
				<a-ziduan :单项="单项" 字段名="收款" 类型="人民币" />
				<a-ziduan :单项="单项" 字段名="台球费" 类型="人民币" />
			</view>
		</q-card-section>
	</q-card>

	<!-- 输入框弹窗 -->
	<uni-popup ref="inputDialog" type="dialog">
		<uni-popup-dialog ref="inputClose" mode="input" title="确认结账" v-model.number="结账内容" placeholder="请输入结账金额"
			@confirm="dialogInputConfirm"></uni-popup-dialog>
	</uni-popup>
</template>

<script setup>
	import { computed, ref, watch, watchEffect } from "vue"
	import * as util from '@/amtf/utils'
	const props = defineProps({
		单项: {
			type: Object,
			default: {}
		},
		store: {
			type: Object,
			default: {}
		},
	});
	
	// 一解构就丢失了响应式
	// const { 单项 } = props
</script>

<style>

</style>